<template>
    <p>{{ msg }}</p>
    <button @click="increment">您点击了:{{ count }}次</button>
</template>

<script setup>
import { ref } from 'vue';

const msg = ref('Hello Composition')
const count = ref(0)

function increment() {
    count.value++;
}
</script>